package com.violet.uaa.server.login.service.impl;

import com.violet.uaa.server.login.entity.LoginLog;
import com.violet.uaa.server.login.mapper.LoginLogMapper;
import com.violet.uaa.server.login.service.LoginLogService;
import lombok.extern.slf4j.Slf4j;
import org.springframework.stereotype.Service;

import javax.annotation.Resource;

/**
 * @Author: wqf
 * @Date: 2024/09/04
 * @Description:
 */
@Slf4j
@Service
public class LoginLogServiceImpl implements LoginLogService {

    @Resource
    private LoginLogMapper loginLogMapper;

    @Override
    public void save(LoginLog loginLog) {
        loginLogMapper.insert(loginLog);
    }
}
